import {defineStore} from 'pinia'   //小仓库总经理



 
  import { computed, reactive ,ref} from 'vue'
  export const useCounterStore = defineStore('count',()=>{
        const  bb=ref(99);
        const nn=ref('');
        const chaoji =computed(()=>bb.value*50);
        function funzhi(){

            nn.value="张三111" 
        }

          return {

            bb,nn,chaoji,funzhi
          }
    
  },{persist:true}

)